var ist;
if (argument0=="p"+string(global.iam)) {echo("found "+argument0+" action as player");return player;} 
else 
{
for (var oc=0;oc<instance_number(enemy);oc++)
{
ist=instance_find(enemy,oc);
if "p"+string(ist.iam)==argument0 {echo("found "+argument0+" action as enemy "+ist.label);return ist.id;}
}
}
